package com.fg.cloud.manager.entry.system.vo;

import java.math.BigDecimal;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fg.cloud.common.convert.CustomBigDecimalSerialize;
import com.fg.cloud.manager.entry.system.AgencyCartEntity;

/**
 * Description:购物车Vo
 * @author around
 * @date 2017年10月19日下午4:55:57
 */
public class AgencyCartVo extends AgencyCartEntity {

	private static final long serialVersionUID = 3111830922579320278L;
	
	/** 商品小计金额 */
	private BigDecimal sumMoney;
	
	/** 是否可选 */
	private Integer isEnabled = 1;
	
	/** 商品编码 */
	private String productName;
	
	/** 商品名称 */
	private String productNumber;
	
	/** 商品图片 */
	private String productImg;

	/** 基本单位ID */
	private Long stdUnitId;
	
	/** 基本单位名称 */
	@JsonIgnore
	private String stdUnitName;

	/** 单位换算数量 */
	private Integer stdAmount;
	
	/** 单位名称 */
	private String unitName;
	
	/** 商品库存量 */
	private BigDecimal stock;
	
	/** 商品原价 */
	@JsonSerialize(using=CustomBigDecimalSerialize.class)
	private BigDecimal sellPrice;
	
	/** 手工录入价格 */
	@JsonIgnore
	private BigDecimal assignPrice;
	
	/** 是否启用多单位 */
	@JsonIgnore
	private Integer multiUnit;
	
	/** 是否启用订货权限 */
	@JsonIgnore
	private Integer authority;
	
	/** 多单位名称 */
	@JsonIgnore
	private String pmUnitName;
	
	/** 多单位指定优惠价 */
	@JsonIgnore
	private BigDecimal customPrice;
	
	@JsonIgnore
	private Integer skuStatus;//sku是否删除
	
	@JsonIgnore
	private Integer unitStatus;//单位是否删除
	
	/** 基础特价存储 */
	private BigDecimal basicPrice;
	
	/** 接收传参使用 */
	@JsonIgnore
	private BigDecimal specialPrice;
	
	/** 接收传参使用:是否标准产品 */
	@JsonIgnore
	private Integer isStandard;
	

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public String getProductNumber() {
		return productNumber;
	}

	public void setProductNumber(String productNumber) {
		this.productNumber = productNumber;
	}

	public String getProductImg() {
		return productImg;
	}

	public void setProductImg(String productImg) {
		this.productImg = productImg;
	}

	public Integer getStdAmount() {
		return stdAmount;
	}

	public void setStdAmount(Integer stdAmount) {
		this.stdAmount = stdAmount;
	}

	public String getUnitName() {
		return unitName;
	}

	public void setUnitName(String unitName) {
		this.unitName = unitName;
	}

	public BigDecimal getStock() {
		return stock;
	}

	public void setStock(BigDecimal stock) {
		this.stock = stock;
	}

	public BigDecimal getSellPrice() {
		return sellPrice;
	}

	public void setSellPrice(BigDecimal sellPrice) {
		this.sellPrice = sellPrice;
	}

	public Long getStdUnitId() {
		return stdUnitId;
	}

	public void setStdUnitId(Long stdUnitId) {
		this.stdUnitId = stdUnitId;
	}

	public String getStdUnitName() {
		return stdUnitName;
	}

	public void setStdUnitName(String stdUnitName) {
		this.stdUnitName = stdUnitName;
	}

	public BigDecimal getAssignPrice() {
		return assignPrice;
	}

	public void setAssignPrice(BigDecimal assignPrice) {
		this.assignPrice = assignPrice;
	}

	public Integer getMultiUnit() {
		return multiUnit;
	}

	public void setMultiUnit(Integer multiUnit) {
		this.multiUnit = multiUnit;
	}

	public Integer getAuthority() {
		return authority;
	}

	public void setAuthority(Integer authority) {
		this.authority = authority;
	}

	public String getPmUnitName() {
		return pmUnitName;
	}

	public void setPmUnitName(String pmUnitName) {
		this.pmUnitName = pmUnitName;
	}

	public BigDecimal getCustomPrice() {
		return customPrice;
	}

	public void setCustomPrice(BigDecimal customPrice) {
		this.customPrice = customPrice;
	}

	public Integer getSkuStatus() {
		return skuStatus;
	}

	public void setSkuStatus(Integer skuStatus) {
		this.skuStatus = skuStatus;
	}

	public Integer getUnitStatus() {
		return unitStatus;
	}

	public void setUnitStatus(Integer unitStatus) {
		this.unitStatus = unitStatus;
	}

	public BigDecimal getSumMoney() {
		return sumMoney;
	}

	public void setSumMoney(BigDecimal sumMoney) {
		this.sumMoney = sumMoney;
	}

	public Integer getIsEnabled() {
		return isEnabled;
	}

	public void setIsEnabled(Integer isEnabled) {
		this.isEnabled = isEnabled;
	}

	public BigDecimal getSpecialPrice() {
		return specialPrice;
	}

	public void setSpecialPrice(BigDecimal specialPrice) {
		this.specialPrice = specialPrice;
	}

	public BigDecimal getBasicPrice() {
		return basicPrice;
	}

	public void setBasicPrice(BigDecimal basicPrice) {
		this.basicPrice = basicPrice;
	}

	public Integer getIsStandard() {
		return isStandard;
	}

	public void setIsStandard(Integer isStandard) {
		this.isStandard = isStandard;
	}
	
	

}
